package com.hunttown.mes.rpc.api;

import com.hunttown.mes.rpc.domain.AnalysisManageRightRoleDTO;
import com.hunttown.mes.rpc.domain.query.AnalysisManageRightRoleDTOQuery;
import com.hunttown.common.domain.Page;

/**
 * created by wangjunfu on 2018-11-26 15:05:48
 */
public interface AnalysisManageRightRoleRpcService {

    AnalysisManageRightRoleDTO insert(AnalysisManageRightRoleDTO analysisManageRightRoleDTO);

    Boolean updateInfoById(AnalysisManageRightRoleDTO analysisManageRightRoleDTO);

    Boolean updateInfoByQuery(AnalysisManageRightRoleDTOQuery analysisManageRightRoleDTOQuery);

    AnalysisManageRightRoleDTO selectById(Integer id);

    AnalysisManageRightRoleDTO selectObjByQuery(AnalysisManageRightRoleDTOQuery analysisManageRightRoleDTOQuery);

    Page<AnalysisManageRightRoleDTO> getListForPage(AnalysisManageRightRoleDTOQuery analysisManageRightRoleDTOQuery);

    Boolean deleteById(Integer id);
}